import static org.junit.Assert.*;

import org.junit.Test;

public class PowercardsTest {


Powercards Powercards = new Powercards (null);



@Test
public void test() {
       
	String card1="karo:K",card2="pik:D",card3="kier:J",card4="J:trefl";
	
	
	
	Powercards.powerhand(card1,card2,card3,card4);    
	Object r = 404020301;
	Object p = 412110907;
	Object z = 313121100;
	Object y = 313041000;
    Object x = 313121000;
     Object k = 313111000;
	 Object n = 313019900 ;
	 Object m = 413121110;
	 Object o = 113000000;
	assertEquals(n,Powercards.powerhand("k:karo","D:pik","J:kier","A:kier"));
	
	//assertNotEquals(Powercards.powerhand("10:pik","D","kier:J","kier:A"),Powercards.powerhand("karo:K","pik:D","kier:J","kier:A"));
	assertEquals(m,Powercards.powerhand("4:kier","3:trefl","2:pik","A:karo")); 
    
	assertEquals(o,Powercards.powerhand("A:kier","A:karo","A:pik","A:trefl"));
	assertEquals(p,Powercards.powerhand("7:kier","5:pik","3:trefl","2:karo"));
	assertEquals(r,Powercards.powerhand("K:pik","D:kier","J:karo","10:trefl"));
	assertEquals(x,Powercards.powerhand("4:kier","3:karo","2:pik","A:karo"));
	assertEquals(y,Powercards.powerhand("4:kier","10:trefl","2:pik","A:pik"));
	assertEquals(z,Powercards.powerhand("4:pik","3:trefl","2:pik","A:karo"));
	assertEquals(k,Powercards.powerhand("4:kier","3:trefl","A:pik","A:karo"));



}


    public void test2(){
    	
    	
    	
    	
    }





}